<!-- list -->
<ul class="nav" ng-controller="NavCtrl">
  <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
    <span >导航栏</span>
  </li>
  <li ui-sref-active="active" ng-repeat="i in navCollections">
    <a admin-auth="i.auth" ui-sref="{{i.href}}" ng-if="!i.sublist">
      <i class="glyphicon glyphicon-{{i.icon}} icon {{i.class}}"></i>
      <span class="font-bold" >{{i.name}}</span>
    </a>
    <a admin-auth="i.auth" href class="auto" ng-if="i.sublist">   
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>   
      <i class="glyphicon glyphicon-{{i.icon}} icon {{i.class}}"></i>
      <span>{{i.name}}</span>
    </a>
    <ul class="nav nav-sub dk" ng-if="i.sublist">
      <li class="nav-sub-header">
        <a href>
          <span>{{i.icon}}</span>
        </a>
      </li>
      <li ui-sref-active="active" ng-repeat="j in i.sublist">
        <a admin-auth="j.auth" ui-sref="{{j.href}}">
          <span>{{j.name}}</span>
        </a>
      </li>
    </ul>
  </li>
</ul>
<!-- / list -->
